const mongoose = require("mongoose");

const fileSchema = new mongoose.Schema({
  fileName: {
    type: String,
    required: [true, "you must tell us your  filename"],
  },

  filePath: {
    type: String,
    required: [true, "you must tell us your filePath"],
  },
  fileType: {
    type: String,
    required: [true, "you must tell us your fileType"],
  },
});

const File = mongoose.model("File", fileSchema);
module.exports = File;
